A.U.D.I.O.S Entertainment

Sega Megadrive Soundsystem
--------------------------


The system provides complex use of all Megadrive sound sources. Using a little
CPU-time from the 68000 main processor together with the Z80 makes it possible
to play high quality FM / PSG sound and 2 superb sampling voices at one time.
Also a complex FX handler is included.



How to put sound in your game !
-------------------------------

The "samples.dat" file has Rom-location $C0000
The "code" file has this time Rom-location $d0000 (Can be changed !)
All calls are relative to $D0000 (TFMX)

1. Call TFMX+0 for first init (To set up Z80)
2. To select the rom-music-file put the number in d0.w and call TFMX+4
3. To play a song put the number in d0.w and call TFMX+8
4. Call TFMX+12 with 50/60 Hz from the end of your VBL IRQ
5. To play FX put the number in d0.w and call TFMX+16
- TFMX+20 has no function
6. To stop the sound call TFMX+24

-  All routines save the CPU-registers except D0 if used
   for parameters (File/Song/FX)

Now for test select file 0 song 0 fx $0-$f

